﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WMS.Entity
{
    /// <summary>
    ///  商品进出数量、价格。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    public class GoodsLogEntity
    {
        #region Model
        private int _autoid;
        private string _goodscode;
        private decimal _price=0;
        private int _quantity=0;
        private int _type=1;
        private DateTime _createdate=DateTime.Now;
        /// <summary>
        /// 
        /// </summary>
        public int AutoID
        {
            set { _autoid = value; }
            get { return _autoid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string GoodsCode
        {
            set { _goodscode = value; }
            get { return _goodscode; }
        }
        /// <summary>
        /// 采购价或销售价
        /// </summary>
        public decimal Price
        {
            set { _price = value; }
            get { return _price; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Quantity
        {
            set { _quantity = value; }
            get { return _quantity; }
        }
        /// <summary>
        /// 0:进库  1:出库
        /// </summary>
        public int Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        #endregion Model

    }
}
